package cn.schoolwow.workflow.domain.instance;

import cn.schoolwow.workflow.domain.common.LocalDateTimeDuration;
import cn.schoolwow.workflow.domain.task.ContextDataQuery;

import java.util.ArrayList;
import java.util.List;

/**工作流实例查询*/
public class WorkFlowInstanceQuery {
    /**工作流定义id列表*/
    public List<Long> definitionIdList = new ArrayList<>();

    /**工作流定义名称列表*/
    public List<String> definitionNameList = new ArrayList<>();

    /**工作流实例id列表*/
    public List<Long> instanceIdList = new ArrayList<>();

    /**工作流实例名称*/
    public List<String> instanceNameList = new ArrayList<>();

    /**工作流任务id列表*/
    public List<Long> taskIdList = new ArrayList<>();

    /**发起人*/
    public List<String> initiatorList = new ArrayList<>();

    /**审批人人列表*/
    public List<String> assignerList = new ArrayList();

    /**任务类型(0:启动任务,1:审批任务)*/
    public List<Integer> taskTypeList = new ArrayList<>();

    /**实例状态列表(0:进行中,1:已完成,2:已撤回,3:已拒绝)*/
    public List<Integer> statusList = new ArrayList<>();

    /**抄送人列表查询*/
    public List<String> carbonCopyList = new ArrayList<>();

    /**上下文数据查询*/
    public List<ContextDataQuery> contextDataQueryList = new ArrayList<>();

    /**发起时间*/
    public LocalDateTimeDuration submitTimeDuration;

    /**完成时间*/
    public LocalDateTimeDuration finishTimeDuration;
}
